/*
 * @Copyright: Citylife 2021
 * @Copyright: EasyCompany 2021
 * @Author: asterisk
 * @Date: 2021-03-18 12:30:07
 * @Description: 
 */

import '../../easy_log.dart';

abstract class LogDao {
  Future init();
  Future unInit();
  Future open(String root, String appKey, String uid);
  Future close();
  Future clearOldMessage({int timestamp});
  Future addOne(EasyLogMessage message);
  Future addMore(List<EasyLogMessage> messages);
  Future<List<EasyLogMessage>> getLastOneDay();
  Future<List<EasyLogMessage>> getOneDay();
}
